//
//  HCLabel.m
//  HappyBug
//
//  Created by liulei on 2018/12/20.
//  Copyright © 2018年 www.hc.com.cn. All rights reserved.
//

#import "MineLabel.h"

@implementation MineLabel

+(instancetype)labelWithFrame:(CGRect)frame
                         text:(NSString *)text
                    textColor:(UIColor *)textColor
                         font:(UIFont *)font
                textAlignment:(NSTextAlignment)textAlignment
              backgroundColor:(UIColor *)bgColor{
    

    MineLabel *szkLabel=[[MineLabel alloc]initWithFrame:frame];
    szkLabel.text=text;
    szkLabel.textColor=textColor;
    szkLabel.font=font;
    szkLabel.textAlignment=textAlignment;
    szkLabel.backgroundColor=bgColor;
    
 
    return szkLabel;
}

@end
